<?php
/**
 * Example Newsky_Google_Chart_Pie
 */
set_include_path( get_include_path() . PATH_SEPARATOR . '../lib' );

require('Zend/Loader/Autoloader.php');
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace( 'Newsky_' );

$gc = Newsky_Google_Chart::factory( 'p3' );
$gc->setWidth( 250 )
   ->setHeight( 100 );
   
$gc->getSerie( 'data' )->addSerie( array( 60,40 ) );
$gc->setLabels( 'Hello', 'World' );

echo $gc;